package cn.sinonet.mb.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.limp.mine.StringTool;

import cn.sinonet.mb.message.Message;
import cn.sinonet.mb.message.MessageCenter;

/**
 * 报文处理过程服务控制器
 * 
 * @author mido
 *
 */
public class ProcessServiceAction extends Action {
	public ActionForward execute(ActionMapping mapping, ActionForm form,
	        HttpServletRequest request, HttpServletResponse response)
	        throws Exception {
		String id = StringTool.checkString(request.getParameter("id"));
		
		MessageCenter center = MessageCenter.getInstance();
		Message message = center.findMessage(id);


		return null;
	}
}
